#pragma once
#include "PredefinedMessages.h"
#include "Message.h"


namespace _FOGGE_
{

	namespace _PMESSAGE_// predefined messages
	{
		namespace _BA_
		{
			class PBAM_BackgroundWorkSet:
				public _FOGGE_::_MSG_::Message
			{
				FoDeclareRegisterFuntion(PBAM_BackgroundWorkSet);

			public:
				void ClearData();

				std::list<Message*> m_JobList;

				UINT	m_WorkSetID;

				bool	m_bNotifyWhenComplete;
			};

			class PBAM_JobComplete:
				public _FOGGE_::_MSG_::Message
			{
				FoDeclareRegisterFuntion(PBAM_JobComplete);
				
			public:
				void ClearData();

			
				UINT	m_CompletedMessageID;
			};
		}
	}
}
namespace _PBAMSG=_FOGGE_::_PMESSAGE_::_BA_;